package com.inxedu.os.edu.dao;

import com.inxedu.os.edu.pojo.EduWebsiteCourse;
import com.inxedu.os.edu.pojo.EduWebsiteCourseDetail;
import com.inxedu.os.edu.pojo.EduWebsiteCourseDetailsss;
import com.inxedu.os.edu.pojo.WebCourseRecommond;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EduRecommondCourseMapper {
    //课程类表查询
    List<EduWebsiteCourse>selectRecommondList(EduWebsiteCourse eduWebsiteCourse);
    //删除
    int  deleteCourse(Long id);

    int updateSort(Long id, Long ordelNum);

    List<EduWebsiteCourse> selectWebsiteCourse();

    List<WebCourseRecommond> findWebCourseRecommond(WebCourseRecommond webCourseRecommond);

    List<EduWebsiteCourse> findrecommondCourse();

    int addrecommendCourse(List<EduWebsiteCourseDetail> e );
}
